<?php
namespace app\index\controller;


use app\index\logic\VideoLogic;
use think\facade\Request;

class Video
{
    /*
     * 视频列表
     */
    public function list(){

        $videoLogic = new VideoLogic();
        $list = $videoLogic->getVideoList();
        success($list);
    }

    /*
     * 播放视频
     * 随机赠送积分
     */
    public function play(){
        $videoLogic = new VideoLogic();

        success($videoLogic->play());
    }

}
